﻿<%@ Page Language="C#" MasterPageFile="~/second.master" AutoEventWireup="true" CodeFile="detail.aspx.cs"
    Inherits="dataproduct_detail" Title="无标题页" %>

<asp:Content ID="Content1" ContentPlaceHolderID="headPlaceHolder" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentPlaceHolder" runat="Server">
    <div class="mainBar_head">
        <div class="mainBar_title">
            数据产品
        </div>
        <div class="mainBar_hind">
            <a href="../index.aspx">首页</a>>><a href="index.aspx">数据产品</a>
        </div>
    </div>
    <div class="mainBar_body">
        <%
            if (ds != null && ds.Tables[0].Rows.Count == 1)
            {

                System.Data.DataRow row = ds.Tables[0].Rows[0];
        %>
        <div class="main_artical_title">
            <%= row["NAME"]%>
        </div>
        <div class="main_title_container">
            <div class="main_title_description">
                应用领域：<%= row["FIELD"]%>
            </div>
        </div>
        <div class="main_content_container">
            <div class="main_content_img">
                <img src="../file/solutions/thumbnail/<%= row["IMAGE"]%>" />
            </div>
            <div class="main_content_description">
                <%= row["SUMMARY"]%>
            </div>
            <div style="clear: both;">
            </div>
        </div>
        <div id="main_artical_div" class="main_artical_content">
        </div>
        <%
            }
            else
            {
        %>
        <%
            }
        %>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="javascriptPlaceHolder" runat="Server">
    <%
        if (ds != null && ds.Tables[0].Rows.Count == 1)
        {

            System.Data.DataRow row = ds.Tables[0].Rows[0];
    %>

    <script type="text/javascript">
        $("#main_artical_div").load("../file/solutions/html/<%= row["HTML"]%>"); 
    </script>

    <%
        }
    %>
</asp:Content>
